import React from "react";

interface IHeaderItemProp {
  children: React.ReactElement
  onClick?: () => void
}

const HeaderItem: React.FC<IHeaderItemProp> = ({children, onClick}) => {

  return (
    <div className="jvyou-layout-header-right-item" onClick={onClick}>
      {children}
    </div>
  )
}

export default HeaderItem